package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.OrderBill;
import cn.wolfcode.crm.domain.StockOutBill;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface StockOutBillMapper {
    int deleteByPrimaryKey(Long id);

    int insert(StockOutBill record);

    StockOutBill selectByPrimaryKey(Long id);

    List<StockOutBill> selectAll();

    int updateByPrimaryKey(StockOutBill record);

    List<StockOutBill> query(QueryObject qo);
    Integer count(QueryObject qo);

    void deleteItemByBillId (Long billId);

    //审核单据
    void audit(StockOutBill record);

}